package com.jmye.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @Description
 * @Date 2024/11/26 下午9:08
 * @Author jmye
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User {
    private Integer id;
    private String userName;
    private String passWord;
    private Date birthday;
    // 哪些订单
    private List<Order> orderList;
    // 拥有哪些角色
    private List<Role> roleList;
}
